<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
			try{
				if(null==request.getSession().getAttribute("userInfo")){
				    out.print("<script>window.location.href='../web/login/login.jsp'</script>");
				}
			}catch(Exception e)
			{
			    out.print("<script>window.location.href='../web/login/login.jsp'</script>");
			}			
%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>

		<title>重设密码</title>
		<meta http-equiv="pragma" content="no-cache" />
		<meta http-equiv="cache-control" content="no-cache" />
		<meta http-equiv="expires" content="0" />
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3" />
		<meta http-equiv="description" content="This is my page" />
		<script>
<!--
function settab_zzjsnet(name,cursel,n){
 for(i=1;i<=n;i++){
  var menu=document.getElementById(name+i);
  var zzjs=document.getElementById("zzjs_"+name+"_"+i);
  menu.className=i==cursel?"hover":"";
  zzjs.style.display=i==cursel?"block":"none";
 }
}
<%
String mail = request.getQueryString();
%>
</script>

		<link href="../../resources/css/findCipher.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="../../scripts/jquery-1.4.2.js">	</script>
		<script type="text/javascript" src="resetPassword.js">	</script>
	</head>

	<body>
		<form>
		<input type="hidden" value="<%=mail%>" id="email"/>
			<jsp:include page="../top.jsp"></jsp:include>


			<div class="fc-wr" align="center">
				<div class="title">
					<span class="iml"><img src="../../resources/images/web/findCipher_09.png" alt=""
							width="4" height="33" />
					</span><span>&nbsp;&nbsp;重设密码</span><span class="imr"><img
							src="../../resources/images/web/findCipher_12.png" width="4" height="33" />
					</span>
				</div>
				<div class="cont">

					<div class="fot">
					</div>
					<div class="item">
						<span class="label">新&nbsp;&nbsp;密&nbsp;&nbsp;码：</span>
						<span class="input1"><input type="password" id="password" name="" />
						</span>
					</div>
					<div class="item">
						<span class="label">确认新密码：</span>
						<span class="input1"><input type="password" id="newpass" name="" />
						</span>
					</div>
					<div class="item">
						<span class="label">验&nbsp;&nbsp;证&nbsp;&nbsp;码：</span>
						<span class="input2"> <input type="password" id="code" name="" />
						</span>
						<span><img id="img" src="../register/yanzhengma.jsp" width="65" height="26" />
						</span>
						<span>&nbsp;看不清？</span><span><a href="javascript:loadCode()">换一张</a>
						</span>
					</div>


					<div class="item">
						<input type="button" class="btn-img" value="完 成" onclick="checkSumbit()" />
					</div>

				</div>



			</div>


			<div class="foot">
				<p>
					<a onclick="this.style.behavior='url(#default#homepage)';this.setHomePage(window.location.href);" href="javascript:;">把网站设为主页</a> &nbsp;&nbsp;&nbsp;
					<a href="javascript:window.external.addFavorite(window.location.href,'医生在线');">把网站添加到收藏夹</a>
				</p>
				<p>
					<a href="<%=basePath%>aboutus/show.action?id=1">关于我们</a> |
					<a href="<%=basePath%>aboutus/show.action?id=1">About US</a>
				</p>
				<p>
					<a href="#">&copy;2012 备案号：京ICP证xxxxxxx号</a>
				</p>
			</div>
		</form>
</html>
